public class Test {
    public static void main(String[] args) {
        String s1="hello world";
        System.out.println(s1);//hello world
        String s2=new String("hello World");
        System.out.println(s2);//hello world
        char[] ch={'h','e','l','l','o'};
        String s3=new String(ch);
        System.out.println(s3);//hello
    }
}
